From: Keir Fraser Date: Thu, 3 Jul 2008 10:31:40 +0000 (+0100) Subject: vtpm: Add two missing quotes in the vTPM hotplug script. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14188^2~119 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=8d574cc7725981176ae64b73830a4830b3d8faf4;p=xen.git vtpm: Add two missing quotes in the vTPM hotplug script. Signed-off-by: Stefan Berger --- diff --git a/tools/examples/vtpm-common.sh b/tools/examples/vtpm-common.sh index 93a40096ba..a45868eefd 100644 --- a/tools/examples/vtpm-common.sh +++ b/tools/examples/vtpm-common.sh @@ -310,11 +310,11 @@ function vtpm_remove_instance () { instance="0" - if [ "$uuid != "" ]; then + if [ "$uuid" != "" ]; then instance=$(vtpmdb_find_instance $uuid) fi - if [ "$instance == "0" ]; then + if [ "$instance" == "0" ]; then domname=$(xenstore_read "$XENBUS_PATH"/domain) instance=$(vtpmdb_find_instance $domname) fi